﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Citi.EmailSender.Domain
{
    public partial class DownloadAttachment
    {
        public IEnumerable<DownloadAttachment> GetPendingDownloads()
        {
            return SelectAll<DownloadAttachment>().Where(x => x.DownloadedOn == null);
        }
    }
}
